package com.lc.demo.mapper;

import com.lc.demo.bean.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Author: sakila
 * @Date: 2022/03/07/20:49
 * @Description:
 */

public interface OrderMapper  extends BaseMapper<Order> {

    @Select("select * from t_order where userId=#{id}")
    List<Order> selectOrderList(@Param("id") Integer id);
}
